Spatial visualisation

Jan-Philipp Kolb

Tue Sep 08 20:58:58 2015

Hello world

Fra Mauro Map

pic

Migrant route to Germany

pic

The road to Europe

Source: The Independent

pic

Motivation

GDP per capita

Data source: World Development Indicators

GDP in German federal states

pic

More detailed - more interesting?

Social index - Proportion of social benefits recipients in Berlin

pic

Source: Tagesspiegel

Is the necessary data available?

pic

Source

The spatial perspective…

But how to get the adequate data?

A little quiz - which town is it?

pic

Background info

New York

pic

Source: Eric Fischer

Two ideas combined

World Map Of Touristiness

pic

Source: Touristiness

Based on tourist pictures uploaded on panoramio

Locals and Tourists

Tourists and Locals

pic

Source: Eric Fischer

Tracking Taxis Across Manhattan

pic

Source: The New York Times

Target / Motivation

The target is to visualize social aspects in maps.

pic

pic

Spatial? - Motivation

Examples

Organisation

Targets

I want to….

Misunderstanding

pic

Source: LOLDAMN

Learning by doing

pic

Source

Targets

Every participant should present his/her own maps.

Background

Personal information

pic

University of Trier

pic

Source: Website with city maps

Erasmus - Univerity Lyon III

pic

Source: orangesmile

Mannheim

pic

Source: Urban day

Gesis Mannheim

pic

Organisation Gesis

Five departments - Survey Design and Methodology

Gesis

GESIS is:

GESIS offers:

Tasks GESIS-Team Statistics:

Consulting and research on …

Your background?

Tools for this course

Tools and services

pic pic21 pic21

pic21

R programming language

R is a programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians and data miners for developing statistical software and data analysis. Polls, surveys of data miners, and studies of scholarly literature databases show that R’s popularity has increased substantially in recent years.

Source: Wikipedia

Google maps

Google Maps is a desktop web mapping service developed by Google. It offers satellite imagery, street maps, 360° panoramic views of streets (Street View), real-time traffic conditions (Google Traffic), and route planning for traveling by foot, car, bicycle, or public transportation. Google Maps offers an API that allows maps to be embedded on third-party websites.

Source: Wikipedia

Open Street Map

OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world. Two major driving forces behind the establishment and growth of OSM have been restrictions on use or availability of map information across much of the world and the advent of inexpensive portable satellite navigation devices.

Source: Wikipedia

Github

GitHub is a Web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features. […] GitHub provides a Web-based graphical interface and desktop as well as mobile integration. It also provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.

Source: Wikipedia

Why use R - It’s open source

R is the leading tool for statistics, data analysis, and machine learning. It is more than a statistical package; itÂ’s a programming language, so you can create your own objects, functions, and packages.

Source: http://www.r-bloggers.com/why-use-r/

Why use R - it is extremely comprehensive:

A big number (+5000) of (very specific) packages:

pic21

Overview of available packages on CRAN

Why use R - Quicklist of useful packages

Install and load packages

install.packages("lme4")
library(lme4)

Why use R - visualisation

a <- runif(10000)
hist(a,col="blue")

Visualisation examples

pic

Resources for advanced graphics

It is possible to create nice graphics:

Why use R - geographic information systems (GIS)

R can be used as GIS:

library(ggmap)
mapdist("Mannheim Hbf","Heidelberg Hbf")
##           from             to     m    km    miles seconds minutes
## 1 Mannheim Hbf Heidelberg Hbf 18250 18.25 11.34055    1122    18.7
##       hours
## 1 0.3116667

R task view - spatial statistics

pic

Virgilio Gómez-Rubio - Applied Spatial Data Analysis with R

pic

Why use R - interfaces

pic21 p

Why use R - overview of reasons

pic21

Source: edureka!

Further reading

Github stack

pic21

Github page

https://github.com/Japhilko/GeoData/tree/master/2015

Printing information

pic

First steps in R

How to learn R

I will try to keep it simple and provide lots of resources.

Basic R

pic21

Download and install R

http://mirrors.softliste.de/cran/

Rstudio

pic21

Source: R-programming